<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ page contentType="text/html; charset=utf-8" import="com.leexuan.ordersystem.beans.*"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0058)http://localhost/discuz/admincp.php?action=menu&sid=MYo8Sj -->
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>WEB产品订单处理系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK id=css href="css/admincp.css" type=text/css rel=stylesheet>
<html:base/>
</HEAD>

<SCRIPT> 
function getcookie(name) {
	var cookie_start = document.cookie.indexOf(name);
	var cookie_end = document.cookie.indexOf(";", cookie_start);
	return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length)));
}

function setcookie(cookieName, cookieValue, seconds, path, domain, secure) {
	var expires = new Date();
	expires.setTime(expires.getTime() + seconds);
	document.cookie = escape(cookieName) + '=' + escape(cookieValue)
		+ (expires ? '; expires=' + expires.toGMTString() : '')
		+ (path ? '; path=' + path : '/')
		+ (domain ? '; domain=' + domain : '')
		+ (secure ? '; secure' : '');
}
function $(id) {
	return document.getElementById(id);
}
var collapsed = getcookie('os_collapse');
function collapse_change(menucount) {
	if($('menu_' + menucount).style.display == 'none') {
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = './images/menu_reduce.gif';
	} else {
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = './images/menu_add.gif';
	}
setcookie('os_collapse', collapsed, 2592000);
}
</SCRIPT>


<BODY style="MARGIN: 3px">
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD>
      <DIV align=center>
<%
Admin admin = new Admin();
admin = (Admin)session.getAttribute("admin");
String name = null;
name = admin.getName();

%>      

欢迎你，<%=name%></DIV></TD></TR></TBODY></TABLE>
<DIV id=home>
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(1) 
      href="#"><IMG id=menuimg_1 src="images/menu_reduce.gif" border=0></A>&nbsp;
    <A onclick=collapse_change(1) href="#">客户管理</A></TD></TR>
  <TBODY id=menu_1 style="display:">
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD>
          <html:link forward="addCustomer" target="main">增加客户</html:link>
		</TD></TR>
        <TR>
          <TD><html:link forward="listCustomer" target="main">客户列表</html:link></TD></TR>
        <TR>
        </TBODY></TABLE></TD></TR></TBODY></TABLE>
        
        
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(2) 
      href="#"><IMG 
      id=menuimg_2 src="images/menu_reduce.gif" border=0></A>&nbsp;<A 
      onclick=collapse_change(2) 
      href="#">产品管理</A></TD></TR>
  <TBODY id=menu_2>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><html:link forward="addSort" target="main">增加分类</html:link></TD></TR>
        <TR>
          <TD><html:link forward="listSort" target="main">编辑分类</html:link></TR> 
        <TR>
          <TD><html:link forward="addProduct" target="main">增加产品</html:link></TD></TR>           
        <TR>
          <TD><html:link forward="listProductBySort" target="main">产品分类列表</html:link></TD></TR>  
        <TR>
          <TD><html:link forward="listProduct" target="main">产品汇总列表</html:link></TD></TR> 
        <TR>
          <TD><a href="searchProduct.jsp" target="main">产品查找</a></TD></TR>                           

    </TBODY></TABLE></TD></TR></TBODY></TABLE>
    
 <TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(3) 
      href="#"><IMG 
      id=menuimg_3 src="images/menu_reduce.gif" border=0></A>&nbsp;<A 
      onclick=collapse_change(3) 
      href="#">订单管理</A></TD></TR>
  <TBODY id=menu_3>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><a href="addOrder.jsp" target="main">增加订单</a></TD></TR>
        <TR>
          <TD><a href="listOrder.do" target="main">订单列表</a></TD></TR>  
        <TR>
          <TD><a href="listOrderFull.do" target="main">已发货订单</a></TD></TR>  
        <TR>
          <TD><a href="listOrderNotFull.do" target="main">未发货订单</a></TD></TR>                          
    </TBODY></TABLE></TD></TR></TBODY></TABLE>
                
 <TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(4) 
      href="#"><IMG 
      id=menuimg_4 src="images/menu_reduce.gif" border=0></A>&nbsp;<A 
      onclick=collapse_change(4) 
      href="#">发票管理</A></TD></TR>
  <TBODY id=menu_4>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><a href="listOrder.do" target="main">订单开票</a></TD></TR>
        <TR>
          <TD><a href="listInvoice.do" target="main">发票列表</a></TD></TR>
        <TR>
          <TD><a href="listInvoiceFull.do" target="main">已到帐发票</a></TD></TR>   
         <TR>
          <TD><a href="listInvoiceEmpty.do" target="main">未到帐发票</a></TD></TR>                    
    </TBODY></TABLE></TD></TR></TBODY></TABLE>   

 <TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(5) 
      href="#"><IMG 
      id=menuimg_5 src="images/menu_reduce.gif" border=0></A>&nbsp;<A 
      onclick=collapse_change(5) 
      href="#">到帐管理</A></TD></TR>
  <TBODY id=menu_5>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><a href="listInvoice.do" target="main">增加到帐</a></TD></TR>
        <TR>
          <TD><a href="listMoney.do" target="main">到帐一览表</a></TD></TR>
   </TBODY></TABLE></TD></TR></TBODY></TABLE>  
   
   
 <TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(6) 
      href="#"><IMG 
      id=menuimg_6 src="images/menu_reduce.gif" border=0></A>&nbsp;<A 
      onclick=collapse_change(6) 
      href="#">发货管理</A></TD></TR>
  <TBODY id=menu_6>
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><html:link forward="addDsort" target="main">增加发货方式</html:link></TD></TR>
        <TR>
          <TD><html:link forward="listDsort" target="main">编辑发货方式</html:link></TR> 
         <TR>
          <TD><a href="listOrder.do" target="main">产品发货</a></TD></TR>                
          
        <TR>
          <TD><html:link forward="listDeliver" target="main">发货一览表</html:link></TD></TR>
   </TBODY></TABLE></TD></TR></TBODY></TABLE>
   
<TABLE class=leftmenulist style="MARGIN-BOTTOM: 5px" cellSpacing=0 cellPadding=0 
width=146 align=center border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD><A onclick=collapse_change(7) 
      href="#"><IMG id=menuimg_7 src="images/menu_reduce.gif" border=0></A>&nbsp;
    <A onclick=collapse_change(7) href="#">人事管理</A></TD></TR>
  <TBODY id=menu_7 style="display:">
  <TR class=leftmenutd>
    <TD>
      <TABLE class=leftmenuinfo cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD>
          <html:link forward="addAdmin" target="main">增加管理员</html:link>
		</TD></TR>
        <TR>
          <TD><html:link forward="listAdmin" target="main">管理员列表</html:link></TD></TR>
        <TR>
        </TBODY></TABLE></TD></TR></TBODY></TABLE>

<TABLE class=leftmenulist cellSpacing=0 cellPadding=0 width=146 align=center 
border=0>
  <TBODY>
  <TR class=leftmenutext>
    <TD>
      <center>
      <html:link forward="main" target="main">首页</html:link> 
      <html:link forward="logout" target="_top">退出</html:link></center>
      </TD></TR></TBODY></TABLE>
      </DIV>
      
      <br><br><br><br>
      </BODY></HTML>
